#替换字符串
sed -i s/127.0.0.1/zookeeper_db/g /opt/tomcat/webapps/$1/WEB-INF/classes\/xxl-conf.properties
# sed -i s/127.0.0.1/mysql_db/g /opt/tomcat/webapps/$1/WEB-INF/classes\/jdbc.properties
#启动tomcat
/opt/tomcat/bin/catalina.sh run